SPORT 	EQU PORTB
SDAT 	EQU 4
SCLK 	EQU 6	
CHAR_H	EQU	0x48
CHAR_A	EQU	0x41
CHAR_R	EQU	0x52
CHAR_P	EQU	0x50
CHAR_N	EQU	0x4E

YELLOW	EQU	2
RED		EQU 1

UART_TX_IDLE 		EQU 0x00
UART_TX_START_BIT 	EQU 0x02
UART_TX_STOP_BIT 	EQU 0x04
UART_TX_CHAR_HEAD	EQU 0x06
UART_TX_CHAR_DATA	EQU 0x08
UART_TX_ACK			EQU 0x0A
UART_TX_NACK		EQU 0x0C

SDAT_MASK 			EQU 0x10
SDAT_CMASK 			EQU 0xBF
SCLK_MASK 			EQU 0x40

REQUIRED_BITS 		EQU 0x08

	CBLOCK 0x000 ;THESE ARE ACCESS VARIABLES
SHADDOW_WREG
SHADDOW_STATUS
SHADDOW_BSR
MACRO_DATA
LOOK_FOR_ACK_NACK
CLOCK_HAS_GONE_LOW

BUFFER_POP_DATA
BUFFER_POP_ACTION
BUFFER_PUSH_DATA
BUFFER_PUSH_ACTION

BUFFER_LAST
BUFFER_FIRST

TEMP_BUFFER_ACTION
	ENDC

MAX_BUFFER_LENGTH		EQU		D'80'
BUFFER_LENGTH			EQU		D'80'
ACTION_BUFFER_LOCATION	EQU		0x05E
DATA_BUFFER_LOCATION	EQU		0x0AE
ACTION_BUFFER_FSR		EQU		FSR0
DATA_BUFFER_FSR			EQU		FSR1
ACTION_BUFFER_W			EQU		PLUSW0
DATA_BUFFER_W			EQU		PLUSW1